//package com.wjk.kylin.mall.auth.security;
//
//import com.nimbusds.jose.JOSEException;
//import com.nimbusds.jose.jwk.RSAKey;
//import com.wjk.kylin.mall.auth.model.dto.PayloadDTO;
//
//import java.text.ParseException;
//
//public interface JwtTokenService {
////    String generateTokenByHMAC(String payloadStr, String secret) throws JOSEException;
//
////    PayloadDTO verifyTokenByHMAC(String token, String secret) throws ParseException, JOSEException;
//
//
//    String generateTokenByRSA(String payloadStr, RSAKey rsaKey) throws JOSEException;
//
//    PayloadDTO verifyTokenByRSA(String token, RSAKey rsaKey) throws ParseException, JOSEException;
//
//}
